{% load i18n %} 
  <script>
  $(document).ready(function(){
      $.getJSON("/blogs/api/tags/",
          function(data){
            $.each(data, function(i,item){
              comment = "<a href=\"" + item.url + "\" target=\"_blank\">" + item.name + "</a>, ";
              $("#blog_tags").append(comment);
            });
          });
    });
  </script>

  <li class="sidebar">
    <h2><strong>{% trans 'Tags' %}</strong></h2>
    <ul id="blog_tags">
    </ul>
  </li>
